package api.istsoft.ru.dal.Geo;

import android.content.SharedPreferences.Editor;

import com.google.gson.annotations.SerializedName;

public class City {
//    <OffName>string</OffName>
//    <TypeId>long</TypeId>
//    <TypeShortName>string</TypeShortName>
//    <TypeFullName>string</TypeFullName>
//    <CityId>long</CityId>
//    <StateId>long</StateId>
//    <CountryId>long</CountryId>
//    <Sort>string</Sort>
//    <PhoneCode>string</PhoneCode>
//    <PostOffice>string</PostOffice>
//    <Name>string</Name>
//    <Note>string</Note>
    
	@SerializedName("Id")
	private int id;

	@SerializedName("IsShow")
	private boolean isShow;
	
	@SerializedName("Id_Gn")
	private int idGn;
	
	@SerializedName("TypeId")
	private int type;
	
	@SerializedName("OffName")
	private String officialName;
	
	@SerializedName("Name")
	private String name;

	@SerializedName("Note")
	private String note;

	@SerializedName("StateId")
	private int stateId;
	
	@SerializedName("CountryId")
	private int countryId;
	
	@Override
	public String toString() {
		return name;
	}

	public void store(Editor editor) {
		// TODO Auto-generated method stub
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public boolean isShow() {
		return isShow;
	}

	public void setShow(boolean isShow) {
		this.isShow = isShow;
	}

	public int getIdGn() {
		return idGn;
	}

	public void setIdGn(int idGn) {
		this.idGn = idGn;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getOfficialName() {
		return officialName;
	}

	public void setOfficialName(String officialName) {
		this.officialName = officialName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public int getStateId() {
		return stateId;
	}

	public void setStateId(int stateId) {
		this.stateId = stateId;
	}

	public int getCountryId() {
		return countryId;
	}

	public void setCountryId(int countryId) {
		this.countryId = countryId;
	}

	
}
